<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
		<meta charset="utf-8">
		<title>淘天机站群系统管理后台</title>
		<!-- include header_meta -->
</head>

<body>
	<!-- include header -->
	<div class="cp-wrap {if $jnarrow}jnarrow{/if}">
		<div class="crumb"></div>
		<div class="cp-form">
			<div class="box">
				<div class="box-title">添加友情链接</div>
				<form method="POST" class="AjaxPost">
					<div class="control-group">
						<label class="control-label">作用范围：</label>
						<div class="controls controls-row">
							<!-- if $currentYuming -->
							<div>
								<label>
									<input id="s1" type="radio" name="data[yuming_id]" value="{$currentYuming[id]}" checked="checked"> 当前站点【
									<font color="red">{$currentYuming['name']}</font>】</label>
							</div>
							<!-- /if -->
							<div>
								<label>
									<input id="s2" type="radio" name="data[yuming_id]" value="0" {if !$currentYuming} checked="checked"{/if}> 所有站点【
									<font color="red">
										<—要添加到指定站点，请先选择站点</font>】</label>
							</div>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label">网站名称：</label>
						<div class="controls">
							<input type="text" class="input-xlarge focused" name="data[sitename]" style="width:450px;">
						</div>
					</div>
					<div class="control-group">
						<label class="control-label">网站地址：</label>
						<div class="controls">
							<input type="text" class="input-xlarge focused" name="data[url]" style="width:450px;">
						</div>
					</div>
					<div class="control-group">
						<label class="control-label">状态：</label>
						<div class="controls">
							<select name="data[status]">
								<option value="1">启用</option>
								<option value="0">禁用</option>
							</select>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label">备注：</label>
						<div class="controls">
							<input type="text" class="input-xlarge focused" name="data[note]" style="width:450px;">
						</div>
					</div>
					<div class="form-actions">
						<input type="submit" class="btn" value="保存" />
						<input type="button" class="btn btn-link" value="返回" onclick="history.back(-1)" />
					</div>
				</form>
			</div>
		</div>
	</div>
	<!-- include footer -->
	<script>

	</script>
</body>

</html>
